#include "TextQuery.h"
#include "QueryResult.h"
#include "Util.h"
#include "Query.h"
#include "UserPanel.h"

using namespace std;

int main(int argc, char *argv[])
{       
    if(argc == 1){
        cout << "no file!" << endl;
        return -1;
    }

    string filePath(argv[1]);
    TextQuery tq(filePath);
    UserPanel up(tq);
    cout << highlight("Program Exit Successfully") << endl;
    return 0;
}